#pragma once

#include "BaseController.h"

class FileController : public BaseController
{
public:
    FileController(const std::string &root_dir);
    ~FileController();

private:
    void getImage(const httplib::Request &req, httplib::Response &res);

public:
    void bind(httplib::Server *server) override;

private:
    std::string m_root_dir;
};